#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>
#include <QFrame>
#include "defines.h"
#include <vector>

namespace Ui {
class MainWindow;
}

class MainWindow : public QMainWindow
{
    Q_OBJECT
    
public:
    explicit MainWindow(QWidget *parent = 0);
    ~MainWindow();

    ViewsEnum getLastScene();
    bool hasHistory();
    void nukeHistory();
    ViewsEnum getCurrentScene();

signals:
    void changeScene(int i);

public slots:
    void onchangeScene(ViewsEnum i);

private:
    Ui::MainWindow *ui;
    QWidget* centralWidget;
    QObject* mainItem;
    std::vector<ViewsEnum> history;
};

#endif // MAINWINDOW_H
